package login.model.dao;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import login.model.vo.EmpVO;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

public class LoginDaoImpl extends SqlMapClientDaoSupport implements LoginDao{

	@Override
	public EmpVO selectLogin(EmpVO vo) throws SQLException {
		
		return (EmpVO) this.getSqlMapClient().queryForObject("login.selectLoginEmp", vo);
	}

	@Override
	public List<Map> selectMemoList(EmpVO vo) throws SQLException {
		return this.getSqlMapClient().queryForList("login.selectMemoList", vo);
	}
}
